import Vue from 'vue'
import {
  Tabbar, TabbarItem, NavBar,
  Icon, Search, Field, DropdownMenu,
  DropdownItem, Uploader, Button,
  ActionSheet, Toast, Cell,
  Swipe, SwipeItem, Popup,
  DatetimePicker, Radio, RadioGroup,
  Area, Picker, CheckboxGroup, Checkbox,
  Step, Steps, NoticeBar, Skeleton,
  Grid, GridItem, Image, Sticky, PullRefresh,
  Tag, IndexBar, IndexAnchor, Lazyload,
  Loading ,List,Tab, Tabs,Empty ,ImagePreview,
  Image as VanImage 
} from "vant";


Vue.use(Tabbar).use(TabbarItem)
  .use(NavBar).use(Icon).use(Search)
  .use(Field).use(DropdownMenu)
  .use(DropdownItem).use(Uploader)
  .use(Button).use(ActionSheet)
  .use(Toast).use(Cell).use(Swipe)
  .use(SwipeItem).use(Popup).use(DatetimePicker)
  .use(Radio).use(RadioGroup).use(Area)
  .use(Picker).use(CheckboxGroup).use(Checkbox)
  .use(Step).use(Steps).use(NoticeBar)
  .use(Skeleton).use(Grid).use(GridItem)
  .use(Image).use(Sticky).use(PullRefresh)
  .use(Tag).use(IndexBar).use(IndexAnchor)
  .use(Lazyload, { lazyComponent: true })
  .use(Loading).use(List).use(Tab).use(Tabs)
  .use(Empty).use(ImagePreview).use(VanImage)